/**
 * <pre>
 * Copyright:		Copyright(C) 2011-2012, ketayao.com
 * Filename:		SingleThreadedExecution.ketayao.A6.java
 * Class:			A6
 * Date:			2012-10-17
 * Author:			<a href="mailto:ketayao@gmail.com">ketayao</a>
 * Version          1.1.0
 * Description:		
 *
 * </pre>
 **/
 
package SingleThreadedExecution.ketayao;

import SingleThreadedExecution.Q6.Tool;

/** 
 * 	
 * @author 	<a href="mailto:ketayao@gmail.com">ketayao</a>
 * Version  1.1.0
 * @since   2012-10-17 下午5:14:37 
 */

public class A6 {

	/**  
	 * 描述
	 * @param args  
	 */
	public static void main(String[] args) {
        System.out.println("Testing EaterThread, hit CTRL+C to exit.");
        Tool spoon = new Tool("Spoon");
        Tool fork = new Tool("Fork");
        new A6EaterThread("Alice", spoon, fork).start();
        new A6EaterThread("Bobby", fork, spoon).start();
	}

}
